package com.bingo.datasecurity.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bingo.datasecurity.annotation.EncryptMethod;
import com.bingo.datasecurity.annotation.EncryptParam;
import com.bingo.datasecurity.entity.po.UserPo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserMapper extends BaseMapper<UserPo> {


    /**
     * 批量添加用户
     *
     * @param userPoList
     */
    @EncryptMethod
    void addBatchUser(@EncryptParam("list") @Param("list") List<UserPo> userPoList);


}
